<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>子管理员</title>
<include file="Public/header" />
</head>
<body>  
 
        <div class="list_vmall_man">
        <div class="list_vmall_le">
        	<include file="./Apps/BoxAdmin/View/Public/adminMenu.html" />
			
            </div>
            <div class="list_vmall_rig">
            	<div class="list_vmall_bort">
                	<table width="100%" border="1" cellspacing="1" cellpadding="1">
                      <tr>
                        <td height="46"><a style="float:left; margin-left:10px;" href="<{:U('admin_add',array('memu'=>'admin_children'))}>" class="v_mall_q"><i class="v_mall_fi"></i>添加管理员</a></td> 
                      </tr>
                    </table>
                 
					 <table width="100%" class="v_am_bor_t v_am_td" border="1" cellspacing="1" cellpadding="1">
                          <tr class="v_am_bg_top" height="30">
                           
                            <td height="34" align="center" valign="middle" class="v_am_font">ID</td>
                            <td height="34" align="center" valign="middle" class="v_am_font">用户名</td>
                            <td height="34" align="center" valign="middle" class="v_am_font">所属公司</td>                     
                            <td height="34" align="center" valign="middle" class="v_am_font" style="border-right:0;">操作</td>
                          </tr>
					   <volist name="data" id="vo">
                          <tr>
                           
                            <td height="36" align="center" valign="middle"><{$vo.id}></td>
                            <td height="36" align="center" valign="middle"><{$vo.user_name}></td>
                             <td height="36" align="center" valign="middle"><{$vo.store.store_name}></td>
                            <td style="border-right:0;"  height="36" align="center" valign="middle">
                            <a  href="<{:U('access',array('admin_id'=> $vo['id'],'memu'=>I('memu')))}>" class="btn"><i class="v_mall_tubg v_mall_tj2"></i>&nbsp;分配权限</a>
                            <if condition="$vo.status eq 1">
                                <a  href="<{:U('admin_lock',array('id'=> $vo['id'],'status'=>0))}>" class="btn"><i class="v_mall_tubg v_mall_tj2"></i>&nbsp;禁用</a>
                            <else />
                               <a href="<{:U('admin_lock',array('id'=> $vo['id'],'status'=>1))}>" class="btn"><i class="v_mall_tubg v_mall_tj2"></i>&nbsp;恢复</a>
                            </if>
                                <a onclick="return confirm('确认需要删除些信息吗？');" href="<{:U('admin_del',array('id'=>$vo['id']))}>" class="btn"><i class="v_mall_tubg v_mall_tj3"></i>&nbsp;删除</a>
                                 
                            </td>
                          </tr>
                       </volist>
                    </table>
                    <div>
                    </div>
                    
                      <include file="./Apps/BoxAdmin/View/Ace/Public/pager.html" /> 
                </div>
            </div>
        </div>
 
</body>
</html>
